package com.wms.ymcc.service;

import com.wms.ymcc.domain.PayOrder;
import com.baomidou.mybatisplus.service.IService;
import com.wms.ymcc.dto.AlipayNotifyDto;
import com.wms.ymcc.dto.PayApplyDto;
import com.wms.ymcc.result.JSONResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wms
 * @since 2025-06-23
 */
public interface IPayOrderService extends IService<PayOrder> {

    /**
     * 支付异步回调
     * @param alipayNotifyDto
     * @return
     */
    String payNotify(AlipayNotifyDto alipayNotifyDto);

    /**
     * 检查支付订单是否生成
     * @param orderNo
     * @return
     */
    JSONResult checkPayOrder(String orderNo);

    /**
     * 支付申请
     * @param payApplyDto
     * @return
     */
    String apply(PayApplyDto payApplyDto);
}
